package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Message;
import cn.wolfcode.trip.base.query.MessageQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface IMessageService {
    void save(Message message);

    void changeState(MessageQueryObject qo);

    int countForType(MessageQueryObject qo);

    PageInfo listUread(MessageQueryObject qo);

    List<Map> countForMsg(MessageQueryObject qo);
}
